package com.workcell.workdata.xthings.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value = "SerialDeviceMonitorBindDto", description = "监控中心-串口设备绑定的子设备信息")
public class SerialDeviceMonitorBindDto {
    @ApiModelProperty("主键")
    private String id;

    @ApiModelProperty("主设备-设备编码（串口设备编码）")
    private String masterDeviceNo;

    @ApiModelProperty("从设备编码（子设备编码）")
    private String slaveDeviceNo;

    @ApiModelProperty("子设备-短链码")
    private String chainNum;

    @ApiModelProperty("子设备-二维码id")
    private String codeId;

    @ApiModelProperty("子设备-备注名称")
    private String alias;

    @ApiModelProperty("子设备-设备编码")
    private String deviceNo;
    @ApiModelProperty("子设备-厂商编码")
    private String manufacturerCode;

    @ApiModelProperty("子设备-硬件类型")
    private String hardwareType;

    @ApiModelProperty("子设备-硬件名称")
    private String hardwareName;

    @ApiModelProperty("子设备-机器码")
    private String addressId;

    @ApiModelProperty("子设备-最近上线时间")
    private String lastOnlineTime;

    @ApiModelProperty("子设备-设备状态")
    private String useState;
}
